package com.jiot.plugin.influx;

import org.influxdb.annotation.Column;
import java.time.Instant;

public class KlinesData {
    @Column(name = "time")
    Instant time;
    @Column(name="first")
    double first;
    @Column(name="max")
    double max;
    @Column(name="min")
    double min;
    @Column(name="last")
    double last;
    @Column(name="sum")
    double sum;
    @Column(name="count")
    double count;
    
	public Instant getTime() {
		return time;
	}
	public void setTime(Instant time) {
		this.time = time;
	}
	public double getFirst() {
		return first;
	}
	public void setFirst(double first) {
		this.first = first;
	}
	public double getMax() {
		return max;
	}
	public void setMax(double max) {
		this.max = max;
	}
	public double getMin() {
		return min;
	}
	public void setMin(double min) {
		this.min = min;
	}
	public double getLast() {
		return last;
	}
	public void setLast(double last) {
		this.last = last;
	}
	public double getSum() {
		return sum;
	}
	public void setSum(double sum) {
		this.sum = sum;
	}
	public double getCount() {
		return count;
	}
	public void setCount(double count) {
		this.count = count;
	}
    
    
}
